package com.codeyang.feign;

import com.codeyang.domain.Sku;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 描述: TO-删除标志-DO
 *
 * @author CodeYang_Site
 * @version 2021/5/31 13:28
 */
@FeignClient(value = "product-service")
public interface CartSkuFeign {

    /**
     * 远程调用获取sku集合
     *
     * @param skuIds
     * @return
     */
    @PostMapping("/prod/prod/getSkusBySkuIds")
    List<Sku> getSkusBySkuIds(@RequestBody List<Long> skuIds);
}
